import {BaseEntity, BaseApi} from '@/api/BaseApi';
import {sys_application_name} from "@/api/constant";

class SysDictItemApi<T> extends BaseApi<T> {
    API_PREFIX = sys_application_name + '/SysDictItem';

}

export default new SysDictItemApi<DictItem>();

export interface DictItem extends BaseEntity {
    id?: number;
    label?: string;
    value?: string;
    code?: string;
    sort?: number;
    disabled?: boolean;
}